package com.eagle.common.entity.po;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * 
 * 后台角色表
 * 
 */
@SuppressWarnings("serial")
@Getter
@Setter
@ToString
public class AdminRoles implements Serializable {


	/**
	 * 
	 */
	private Integer id;

	/**
	 * 
	 */
	private String roleName;

	/**
	 * 所属运营商ID(0表示平台不属于任何运营商)
	 */
	private Integer operatorId;

	/**
	 * 状态(0禁用,1正常)
	 */
	private Integer status;

	/**
	 * 创建用户id(0表示初始化数据,不能删除)
	 */
	private Integer creator;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern="YYYY-MM-DD")
	private java.util.Date createTime;

	/**
	 * 修改时间
	 */
	@JsonFormat(pattern="YYYY-MM-DD")
	private java.util.Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Integer operatorId) {
		this.operatorId = operatorId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}


}
